<?php
namespace statistics\view\renderers;

use statistics\view\renderers\ElementRenderer;

abstract class AbstractPageRenderer extends ElementRenderer{
	
	protected $pageTitle;
	protected $pageHeader;
	protected $onLoadActions;
	
	public function __construct($pageTitle){
		parent::__construct();
		$this->pageTitle = $pageTitle;
		$this->pageHeader = '';
		$this->onLoadActions = '';
	}
	
	public final function renderPage(){
		$this->renderElement();
	}
	
	public function setPageHeader($pageHeader){
		$this->pageHeader = $pageHeader;
	}
	
	public function setOnLoadActions($onLoadActions){
		$this->onLoadActions = $onLoadActions;
	}
}

?>